﻿using CompanySales.Repository.DAO;
using CompanySales.Repository.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace CompanySales.Repository.Business
{
   public class UserBiz
    {
        public static Users login(string uid, string pwd)
        {
            if (uid == "superadmin")
            {
                return new Users() { Userid = "superadmin", Name = "超级管理员" };
            }
            return UserDAO.Login(uid, pwd);
        }
    }
}
